package com.sharker.myproject.commom.filter;

import javax.servlet.annotation.WebFilter;

import org.sitemesh.config.ConfigurableSiteMeshFilter;
import org.springframework.context.annotation.Configuration;

@Configuration
@WebFilter(urlPatterns = "/*",filterName="sitemesh")
public class SitemeshFilter extends ConfigurableSiteMeshFilter {
	/*@Override
	protected void applyCustomConfiguration(SiteMeshFilterBuilder builder) {
		builder.addDecoratorPath("/admin/*", "/admin/index").addExcludedPath("/admin/index")
				.addExcludedPath("/plugin/*");
	}*/
}
